package com.amt.olcacon.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("product_process")
public class ProductProcessEntity {


    @TableId(value ="id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    @TableField("updated_time")
    private LocalDateTime updatedTime;

    /**
     * 创建者
     */
    @TableField("created_by")
    private String createdBy;

    /**
     * 更新者
     */
    @TableField("updated_by")
    private String updatedBy;

    @TableField("name")
    private String name;

    @TableField("product")
    private Long product;

    @TableField("flow")
    private Long flow;

    @TableField("statistical_time_start")
    private String statisticalTimeStart;

    @TableField("statistical_time_end")
    private String statisticalTimeEnd;

    @TableField("location")
    private Long location;

    @TableField("organization_structure")
    private String organizationStructure;

    @TableField("description")
    private String description;

    @TableField("ref_id")
    private String refId;

    @TableField("quantitative_reference")
    private String quantitativeReference;

    @TableField("version")
    private Long version;

    @TableField("is_latest_one")
    private Integer isLatestOne;

    @TableField("boundary")
    private Integer boundary;

    @TableField("boundary_picture")
    private String boundaryPicture;

}
